home *** CD-ROM | disk | FTP | other *** search
-
- //<HEADER_BEGIN>
- //================================================
- //File name: Uxdpost.h
- //Date : January, 15 2002 12:15
- //Copyright (c) 2002 - Crystal Decisions Corp.
- //================================================
- //<HEADER_END>
-
- #if !defined (UXDPOST_H)
- #define UXDPOST_H
-
- #if defined (__cplusplus)
- extern "C"
- {
- #endif
-
- // Set 1-byte structure alignment
- #if defined (__BORLANDC__) // Borland C/C++
- #pragma option -a-
- #elif defined (_MSC_VER) // Microsoft Visual C++
- #if _MSC_VER >= 900 // MSVC 2.x and later
- #pragma pack (push)
- #endif
- #pragma pack (1)
- #endif
-
- /********************************************/
- #define UXDExchFolderType 0
-
- #define UXDPostDocMessage 1011 // for folder messages
-
- typedef struct tag_UXDPostFolderOptionsA
- {
- WORD structSize;
- LPSTR pszProfile;
- LPSTR pszPassword;
- WORD wDestType;
- LPSTR pszFolderPath;
- WORD nEncodedBytes;
-
- #if defined (__cplusplus)
- public:
- tag_UXDPostFolderOptionsA()
- {
- pszProfile = NULL;
- pszPassword = NULL;
- pszFolderPath = NULL;
- wDestType = UXDPostDocMessage;
- nEncodedBytes = 0;
- };
- #endif
-
- } UXDPostFolderOptionsA, FAR * LPUXDPostFolderOptionsA;
-
- #define UXDPostFolderOptionsSizeA (sizeof (UXDPostFolderOptionsA))
-
- typedef struct tag_UXDPostFolderOptionsW
- {
- WORD structSize;
- wchar_t* pszProfile;
- wchar_t* pszPassword;
- WORD wDestType;
- wchar_t* pszFolderPath;
- WORD nEncodedBytes;
-
- #if defined (__cplusplus)
- public:
- tag_UXDPostFolderOptionsW()
- {
- pszProfile = NULL;
- pszPassword = NULL;
- pszFolderPath = NULL;
- wDestType = UXDPostDocMessage;
- nEncodedBytes = 0;
- };
- #endif
-
- } UXDPostFolderOptionsW, FAR * LPUXDPostFolderOptionsW;
-
- #define UXDPostFolderOptionsSizeW (sizeof (UXDPostFolderOptionsW))
-
- #ifdef UNICODE
- typedef UXDPostFolderOptionsW UXDPostFolderOptions;
- typedef LPUXDPostFolderOptionsW LPUXDPostFolderOptions;
- #else
- typedef UXDPostFolderOptionsA UXDPostFolderOptions;
- typedef LPUXDPostFolderOptionsA LPUXDPostFolderOptions;
- #endif //UNICODE
-
- #define UXDPostFolderOptionsSize (sizeof (UXDPostFolderOptions))
-
- // Reset structure alignment
- #if defined (__BORLANDC__)
- #pragma option -a.
- #elif defined (_MSC_VER)
- #if _MSC_VER >= 900
- #pragma pack (pop)
- #else
- #pragma pack ()
- #endif
- #endif
-
- #if defined (__cplusplus)
- }
- #endif
- #endif
-
-
-